package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.DictionaryItem;
import java.util.List;

public interface DictionaryItemMapper {
    int deleteByPrimaryKey(Long id);

    int insert(DictionaryItem record);

    DictionaryItem selectByPrimaryKey(Long id);

    List<DictionaryItem> selectAll();

    int updateByPrimaryKey(DictionaryItem record);

    List<DictionaryItem> getItemBySn(String sn);

    void deleteByDictionaryName(String name);

    List<DictionaryItem> getItemByDictionaryId(String dictionaryId);
}